package com.xuhai.blog.admin.service;

import com.xuhai.blog.admin.entity.CodeEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.awt.image.BufferedImage;

/**
 * <p>
 * 验证码表 服务类
 * </p>
 *
 * @author 机蜂
 * @since 2022-02-08
 */
public interface CodeService extends IService<CodeEntity> {
    BufferedImage getKaptcha(String uuid);
    boolean checkCode(String uuid,String code);
}
